<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
	<title> {$title} </title>
	<meta http-equiv="content-Type" content="text/html;charset=UTF-8">
	<meta name="Generator" content="EditPlus">
	<meta name="Author" content="">
	<meta name="Keywords" content="">
	<meta name="Description" content="">
	<script type="text/javascript">
		var checkUrl="{:Dyhb::U('user/checkuser')}";
	</script>
		{script}
		var __DYHB_JS_ENTER__='{:__APP__}';
		{/script}
		<import file="Js.Vendor.Jquery" />    
		<import file="Js.Dyhb#package" />  
		{script}    
		{:App::U()}      
		{/script} 
	<script type="text/javascript" src="{:_PUBLIC_}/Js/jquery.js"></script>
	<script type="text/javascript" src="{:_PUBLIC_}/Js/slide.js"></script>
	<script type="text/javascript" src="{:_PUBLIC_}/Js/city.js"></script>
	<script type="text/javascript" src="{:__TMPLPUB__}/Js/check.js"></script>
	<link rel="stylesheet" type="text/css" href="{:__TMPLPUB__}/Css/style.css" />
 </head>
 <body>
	<div id="container">
		<div id="uheader">
			<div id="head">
				{if $GLOBALS['___login___']===false}
					<a href="{:Dyhb::U('index/index')}">首页</a>
					<a href="{:Dyhb::U('article/add')}">我的博客</a>
					<a href="{:Dyhb::U('user/register')}">博客注册</a>
				{d*else}
					<a>{$GLOBALS['___login___']['regname']}</a>
					<a href="{:Dyhb::U('article/add')}">我的博客</a>
					<a href="{:Dyhb::U('user/logout')}">安全退出</a>
				{/if}
			</div><!--/head-->
			<div id="login">
					<a style="margin:0px 550px 0px 0px;font-size:17px;" href="{:Dyhb::U('index/index')}">Yming博客欢迎你!</a>
			</div><!--/login-->
		</div><!--/uheader-->
		<div id="uform">
			<div id="info-msgbox">
				<span id="info"></span>
			</div>
			<div  class="_table">
				<form action="{:Dyhb::U('user/submit')}" method="post" name="user_form">
					<table class="border" width="85%" cellspacing="0" cellpadding="0" border="1" align="center">
						<tr><td colspan="2" class="left bold"><h1>用户注册</h1></td></tr>
						<tr>
							<td width="28%"><label for="user_name">用户名</label></td>
							<td width="72%" class="left">
							<input type="text" name="user_name" id="user_name"/>
							<span id="check_username" class="gray">5-30字符，不可以全为数字</span>
							</td>
						</tr>
						<tr>
							<td><label for="user_realname">真实名</label></td>
							<td class="left" ><input type="text" name="user_realname" id="user_realname"/>
							<span id="check_realname" class="gray">6-25字符</span>
							</td>
						</tr>
						<tr>
							<td>密码</td><td class="left" ><input type="password" name="user_password1"/>
							<span id="check_password1" class="gray">密码不能少于6个字符</span>
							</td>
						</tr>
						<tr>
							<td>确认密码</td><td class="left"><input type="password" name="user_password2"/>
							<span id="check_password2" class="gray"></span>
							<font color=red>*</font>
							</td>
						</tr>
						<tr>
							<td>邮箱</td><td class="left" ><input type="text" name="user_email" id="user_email"/>
							
							<span id="check_email" class="gray">请认真填写邮箱，用于找回密码</span>
							<font color=red>*</font>
							</td>
						</tr>
						<tr>
							<td>所处城市</td><td class="left">
								<select name="province" id="pro_list" onchange="javascript:inicity();">
									<script type="text/javascript">createProvince();</script>
								</select>
								<select name="city" id="city_list"></select>
								<span id="check_pro_city" class="gray"></span
							<font color=red>*</font>
							</td>
						</tr>
						<if condition="$GLOBALS['___config___']['logup_code'] eq 'y'">
						<tr>
							<td>验证码</td><td class="left"><input class="input_vtl" type="text" name="user_string" id="user_string" />
							<img id="_img_" src="{:Dyhb::U('user/seccode')}" onclick='this.src=this.src+"?"+new Date().getTime()' style="cursor:pointer;"/>
							<span class="label_vtl" style="cursor:pointer;" onclick="javascript:updateimg();">看不清?</span>
							<span id="check_string" class="label_vtl" class="gray"></span>
							</td>
						</tr>
						</if>
						<tr>
							<td colspan=2 class="center">
							<input type="submit" name="reg_sub" value="注册" onclick="javascript:return check();"/>
							<input type="reset" name="reg_sub" value="重置"/>
							</td>
						</tr>
					</table>
				</form>
			</div>
		</div><!--uform-->
		<div id="footer">
		</div>
		<!--/footer-->
		<div id="backtop" >
			<a href="javascript:scroll(0,0);"><img src="{:_PUBLIC_}/Images/backtop.png"/></a>
		</div>
	</div>
 </body>
</html>